$OpenBSD: patch-libfsemu_src_ml_manymouse_x11_xinput2_c,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- libfsemu/src/ml/manymouse/x11_xinput2.c.orig	Sat Sep 10 10:56:39 2016
+++ libfsemu/src/ml/manymouse/x11_xinput2.c	Sat Sep 10 10:57:12 2016
@@ -7,6 +7,8 @@
  *  This file written by Ryan C. Gordon.
  */
 
+#include <sys/select.h> /* timeval */
+
 #include "manymouse.h"
 /* Try to use this on everything but Windows and Mac OS by default... */
 #ifndef SUPPORT_XINPUT2
